package cgb.day02;

public class demo {
    public static void main(String[] args) {
        int a =1;
        a++;
        System.out.println(a);//a=2
        int b = (a++)+a;
        System.out.println(a);//a=3
        System.out.println(b);//b=5

        int c=++a+a+2;
        System.out.println(c);//c=10
        System.out.println(a);//a=4
        b+=b;
        System.out.println(b);//b=10
        c=++a+2+(++a);
        System.out.println(a);//a=6
        System.out.println(c);//c=13











    }







}
